package com.ruoyi.food.object;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 食安红黑榜
 * @author mengcc
 *
 */
@ApiModel(value = "TRedBlack", description = "红黑榜")
@TableName("t_red_black")
public class TRedBlack extends BaseEntity {
	
	/**主键id**/
	@ApiModelProperty(value = "主键id", name = "listId")
	@TableId(value="list_id")
	private long listId;
	
	/**被检查单位**/
	@ApiModelProperty(value = "被检查单位", name = "enterpriseName")
	private String enterpriseName;
	
	/**招牌名称**/
	@ApiModelProperty(value = "招牌名称", name = "shopSign")
	private String shopSign;
	
	/**经营地址**/
	@ApiModelProperty(value = "经营地址", name = "address")
	private String address;
	
	/**评比时间**/
	@ApiModelProperty(value = "评比时间", name = "evalTime")
	private Date evalTime;
	
	/**类型**/
	@ApiModelProperty(value = "类型，0黑榜，1红榜，3全部", name = "listType")
	private int listType;
	
	/**是否有效**/
	@ApiModelProperty(value = "是否有效", name = "isValid")
	private int isValid;

	public long getListId() {
		return listId;
	}

	public void setListId(long listId) {
		this.listId = listId;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public String getShopSign() {
		return shopSign;
	}

	public void setShopSign(String shopSign) {
		this.shopSign = shopSign;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getEvalTime() {
		return evalTime;
	}

	public void setEvalTime(Date evalTime) {
		this.evalTime = evalTime;
	}

	public int getListType() {
		return listType;
	}

	public void setListType(int listType) {
		this.listType = listType;
	}

	public int getIsValid() {
		return isValid;
	}

	public void setIsValid(int isValid) {
		this.isValid = isValid;
	}

}
